/*
 * 文件名：PushCarOutBillInfoRunble.java	 
 * 时     间：下午7:16:04
 * 作     者：Administrator       
 * 版     权： 2012-2022 湖南智软网络科技, 公司保留所有权利.
 * 联     系：http://www.073586.com/
 */
package com.local.manager.push;

import com.local.entity.vo.CarInManualOpenVo;
import com.local.model.AdminCarInBill;
import com.local.service.face.CarInAndOutService;
import com.qianhai.common.utils.Log4jUtil;

/**
 * 
 * 类描述： 车辆进场手动开闸同步到云
 * @ClassName: PushManualOpenCloudRunble 
 * @author Administrator
 * @date 2016年3月29日 下午2:09:24
 */
public class PushManualOpenCloudRunble implements Runnable
{
	
	private static Log4jUtil log = Log4jUtil.getLog4j(PushManualOpenCloudRunble.class);
			
	private CarInAndOutService carInAndOutService;
	
	private AdminCarInBill adminCarInBill;
	
	private CarInManualOpenVo vo;
	
	public PushManualOpenCloudRunble(com.local.model.AdminCarInBill adminCarInBill,CarInManualOpenVo vo,CarInAndOutService carInAndOutService)
	{
		super();
		this.adminCarInBill = adminCarInBill;
		this.vo = vo;
		this.carInAndOutService = carInAndOutService;
	}
	
	@Override
	public void run()
	{
		try
		{
			carInAndOutService.pushManualOpenCloud(adminCarInBill,vo);
		} catch (Throwable t)
		{
			log.error("", t);
		}
	}
	
}
